package com.example.demo.annatationtest.sub;

import com.example.demo.annatationtest.User;
import org.springframework.stereotype.Service;

@Service
public class UserService {

    public String addUser(User user) {
        System.out.println("添加用户: " + user);
        return "你好";
    }

    public void deleteUser(String name) {
        System.out.println("删除用户: " + name);
    }


}